WcGetnet\Services\WcGetnetApi S

Total Complexity 37
Dependencies 5
Dependents 7
Total lines 260
Lines of code 160
Logical lines of code 65
Comment lines 51
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_webhook_args()
S
51 7 28
check_api_credentials()
S
62 4 13
send_request_post()
S
55 3 19
process_webhook()
S
67 4 7
is_valid_payment()
S
63 4 10
get_header()
S
61 3 13
process_another_types()
S
60 3 13
build_admin_message_api_credentials_if_empty()
S
65 2 11
get_order_by_billet_id()
S
55 1 21
process_billet_payment_step_2()
S
64 2 9
__construct()
S
69 1 6
get_environment_url()
S
75 1 4
get_selected_environment()
S
80 1 3
check_payment_type()
S
79 1 3